import request from '@/utils/request'

export function getBlogList(params) {
  return request({
    url: '/blog/search',
    method: 'post',
    data: params
  })
}

export function addBlog(params) {
  return request({
    url: '/blog/add',
    method: 'post',
    data: params
  })
}
